package com.macro.mall.dao;

import com.macro.mall.dto.OmsOrderDeliveryParam;
import com.macro.mall.dto.OmsOrderDetail;
import com.macro.mall.dto.OmsOrderQueryParam;
import com.macro.mall.model.OmsOrder;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/** 订单查询自定义Dao Created by macro on 2018/10/12. */
public interface OmsOrderDao {
  /** 条件查询订单 */
  List<OmsOrder> getList(@Param("queryParam") OmsOrderQueryParam queryParam);

  /** 批量发货 */
  int delivery(@Param("list") List<OmsOrderDeliveryParam> deliveryParamList);

  /** 获取订单详情 */
  OmsOrderDetail getDetail(@Param("id") Long id);
}
